using System;
using System.Web.UI.WebControls;
using System.Web.UI;

namespace BizElements.Web.UI
{
    /// <summary>Form header (decorative element) contains object caption.</summary>
    public partial class FormHeader : System.Web.UI.UserControl, ITextControl
    {
        /// <summary>Header caption.</summary>
        public string Caption
        {
            get { return this.uiCaptionLbl.Text; }
            set { this.uiCaptionLbl.Text = value; }
        }

        /// <summary>Header caption.</summary>
        public string Text
        {
            get { return this.Caption; }
            set { this.Caption = value; }
        }

        string width = "100%";

        /// <summary>Control width.</summary>
        public string Width
        {
            get { return this.width; }
            set { this.width = value; }
        }
    }
}